home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / latex209 / contrib / latexinfo / manual / Makefile < prev   
Makefile  |  1992-02-20  |  1KB  |  56 lines

  1. # This file depends on the environment variable LATEXINFO
  2. # being already set.
  3. LATEXINFO=..
  4.  
  5. # The name of your DVI to PS filter
  6. DVIPS=dvips
  7.  
  8. # The name of your GNU Emacs
  9. EMACS=xemacs
  10.  
  11. # The name of your directory to install the binaries
  12. # We have an environment variable set which points to the Gnu binary direct.
  13. BINDIR=${GNUBINDIR}
  14.  
  15. # Where to install the info files
  16. INFODIR=${GNUINFODIR}
  17.  
  18. # Where to install the LaTeXinfo example
  19. TEXDIR=${GNUSHAREDIR}/tex
  20.  
  21. INSTALL = install -c -m 755
  22. INSTALLDATA = install -c -m 644
  23.  
  24. ########## End of user configurable options   ################
  25. # The name of the file
  26.  
  27. PROGRAM=latexinfo2
  28. MANUAL=latexinfo2
  29.  
  30. ELISP=${LATEXINFO}/elisp
  31. DOC=${LATEXINFO}/manual
  32.  
  33.  
  34. all:    $(MANUAL).dvi
  35.  
  36. $(MANUAL).dvi:    ${LATEXINFO}/C/latexindex $(MANUAL).tex $(MANUAL).bib
  37.     latex2dvi $(MANUAL).tex
  38.  
  39. $(MANUAL).ps:    $(MANUAL).dvi
  40.     $(DVIPS) $(MANUAL)
  41.  
  42. install::
  43.     -mkdir $(BINDIR)
  44.     $(INSTALL) latex2dvi $(BINDIR)
  45.     -mkdir $(INFODIR)
  46.     $(INSTALLDATA) $(MANUAL).info* $(INFODIR)
  47.     -mkdir $(TEXDIR)
  48.     $(INSTALLDATA) lnfo-sample.tex $(TEXDIR)
  49.  
  50. clean:    
  51.     rm -f $(MANUAL).log $(MANUAL).blg make.el *~ #~
  52.  
  53. veryclean:
  54.     rm -f $(MANUAL).ps $(MANUAL).dvi
  55.  
  56.